package org.lex.pci.ch02.similarity;

import org.lex.pci.ch02.data.Preferences;
import org.lex.pci.common.Algorithm;

/**
 * 计算两个用户的相似度
 */
public interface SimilarityAlgorithm extends Algorithm {
	public double getSimilarity(Preferences prefs, String person1, String person2);
}
